projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e9c10
)
(byte-compile-inline-expand): Recalculate fn
author
Richard M. Stallman
<rms@gnu.org>
Mon, 27 Jan 1997 02:40:13 +0000
(
02:40
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 27 Jan 1997 02:40:13 +0000
(
02:40
+0000)
after loading a file to define the function.
lisp/emacs-lisp/byte-opt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/byte-opt.el
b/lisp/emacs-lisp/byte-opt.el
index ef2880c7d9b1aae73f93b5c7c6192e09f8ba10f6..4b7b9f305e61f1ad37eae464c64e1f0cb356e815 100644
(file)
--- a/
lisp/emacs-lisp/byte-opt.el
+++ b/
lisp/emacs-lisp/byte-opt.el
@@
-270,7
+270,10
@@
form)
;; else
(if (and (consp fn) (eq (car fn) 'autoload))
- (load (nth 1 fn)))
+ (progn
+ (load (nth 1 fn))
+ (setq fn (or (cdr (assq name byte-compile-function-environment))
+ (and (fboundp name) (symbol-function name))))))
(if (and (consp fn) (eq (car fn) 'autoload))
(error "file \"%s\" didn't define \"%s\"" (nth 1 fn) name))
(if (symbolp fn)